#ifndef SONGLIST_H
#define SONGLIST_H

#include "mylist.h"

class MyItem;
class KTV;
class Song;
class RequestSong;

class SongList : public MyList
{
public:
    SongList(KTV *k, int w, int h, QList<MyItem *> *songs);
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);

    void selectCurrentItem();
public:
    static const int REQUEST_SONG_OPERATION = 300;
private:
    int timer;
    RequestSong *requestSong;
};

#endif // SONGLIST_H
